package com.weixing.mall.provider.model.enums;

import com.weixing.mall.base.enums.IBaseEnum;
import lombok.NoArgsConstructor;

/**
 * 数据开关枚举，后期需要使用在进行维护
 * @author ceshi
 * @Title: ${file_name}
 * @Package ${package_name}
 * @Description: ${todo}
 * @date 2019/11/2715:35
 */

@NoArgsConstructor
public enum SysSwitchEunm  implements IBaseEnum<Integer> {
    STAR_1(1,"移动端展示我的获利"),
    STAR_2(0,"移动端不展示我的获利");

    private int value;
    private String desp;

    SysSwitchEunm(int value, String desp) {
        this.value = value;
        this.desp = desp;
    }

    @Override
    public Integer getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public String getDesp() {
        return desp;
    }

    public void setDesp(String desp) {
        this.desp = desp;
    }
}
